from fastapi import APIRouter

shop = APIRouter()

class User:
    id ,
    pass
#@shop.get('/',responses=User,response_class=User,response_description='用户信息',response_model_include='u',response_model_exclude_defaults='dd')
@shop.get('/')
def info():
    return {'shopid': 122, 'username': '苏轼全集'}


@shop.get('/show')
def show():
    return {'show': 2, 'username': '苏轼逍林'}
